Skip to content

Add Spring Boot 4 support#2787

Merged
mjameswh merged 1 commit intotemporalio:masterfrom
cretz:spring-4-minimal
Mar 26, 2026
Merged

Add Spring Boot 4 support#2787
mjameswh merged 1 commit intotemporalio:masterfrom
cretz:spring-4-minimal

Conversation

@cretz
Copy link
Contributor

@cretz cretz commented Feb 17, 2026

What was changed

  • Updated Gradle build files and added CI test to ensure Spring 4 works
    • Did not have to change code
  • Updated MetricsScopeAutoConfiguration and OpenTracingAutoConfiguration to point to the newer Spring 4 class names
    • Also added test to that would have broken on Spring 4 without these changes

Checklist

  1. Closes Spring Boot 4 Support #2738
  2. Closes Spring Metrics Configuration fails with Spring Boot 4 #2758

@cretz cretz changed the title [DO NOT MERGE] Spring 4 tests [DO NOT MERGE] Spring 4 support Feb 18, 2026
@mjameswh mjameswh marked this pull request as ready for review March 24, 2026 17:48
@mjameswh mjameswh requested a review from a team as a code owner March 24, 2026 17:48
@mjameswh mjameswh changed the title [DO NOT MERGE] Spring 4 support Add Spring Boot 4 support Mar 24, 2026
@mjameswh mjameswh changed the base branch from master to jackson-3 March 24, 2026 17:49

- name: Start containerized server and dependencies
env:
TEMPORAL_CLI_VERSION: 1.6.1-server-1.31.0-151.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[unrelated] Seems like removing this line is causing test flakes in Nexus tests, not sure why.

version = getVersionName()

subprojects {
apply plugin: "com.palantir.git-version"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated, but this was causing Gradle error messages in my environment because jgit used internally by com.palantir.git-version doesn't know how to deal with Git worktrees. AFAICS, we're anyway relying on CLI calls to git, rather than use APIs provided by that plugin.

@mjameswh mjameswh changed the base branch from jackson-3 to master March 26, 2026 00:00
@mjameswh mjameswh merged commit c195cd1 into temporalio:master Mar 26, 2026
23 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spring Metrics Configuration fails with Spring Boot 4 Spring Boot 4 Support

4 participants